/**
 * 
 */
package com.warehouse.management.interfaces;

/**
 * @author Vladislav
 * 
 */
public interface IRepository<T> {

    T getById(Long id);

    void add(T entity);

    void update(T entity);

    void delete(T entity);

    void delete(Long id);

    void detach(T entity);
}
